#!/usr/bin/env python
# -*- coding:utf-8 -*-
# @Time : 2021-12-14 16:01
# @Author : huabao.tan
# @File : run.py
# @Software: PyCharm

from flask import Flask, render_template, redirect, url_for

app = Flask(__name__)
# app.config.from_object('setting.DevelopmentConfig') #配置文件

def test():
    a1 = url_for('n1')
    a2 = url_for('n2')
    a3 = url_for('n3')
    print(a1, a2, a3)
    return 'Test'

@app.route('/index', methods=['GET', 'POST'], endpoint='')
def index():

    return tempfile('')


if __name__ == '__main__':
    app.run(debug=True)